﻿import request from '@/utils/request'

// 查询字典类型列表
// export function listType(query) {
//   return request({
//     url: '/system/dict/type/list',
//     method: 'get',
//     params: query
//   })
// }

// // 查询字典类型详细
// export function getType(dictId) {
//   return request({
//     url: '/system/dict/type/' + dictId,
//     method: 'get'
//   })
// }

// 结算列表
export function settlementList(query) {
  return request({
    url: '/settlement/list',
    method: 'get',
    params: query
  })
}

// 刷新数据
export function updateSettlement(query) {
  return request({
    url: '/settlement/updateSettlement',
    method: 'post',
    params: query
  })
}


// 结算数据
export function settlement(query) {
  return request({
    url: '/settlement/settlement',
    method: 'post',
    params: query
  })
}
